<?php
/*
Author: 
Project: EBBS
*//**********************Description**********************/
include 'library/init.php';
if ($user->loggedOn()){
header('Location:blog.php?id='.$user->getID());
exit;
}

else
{
include 'library/header.php';
    if(isset($_GET['id']))
        $error = $_GET['id'];
    else
        $error = NULL;
    echo $user->getLoginForm($error);
}
include 'library/sidebar.php';
include 'library/footer.php';

